package com.example.javaproject.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.javaproject.entity.PositionApplication;

public interface PositionApplicationService extends IService<PositionApplication> {
    boolean applyPosition(PositionApplication application);
    // 查询教师所有岗位的学生申请
    java.util.List<java.util.Map<String, Object>> getApplicationsByTeacherId(Integer teacherId);
    // 查询学生的申请记录
    java.util.Map<String, Object> getMyApplications(java.util.Map<String, Object> params);
    // 查询教师所有岗位的学生申请（分页）
    java.util.Map<String, Object> getApplicationsByTeacherIdPaged(java.util.Map<String, Object> params);
} 